﻿using UnityEngine;
using System.Collections;

[RequireComponent (typeof(SpriteRenderer))]
public class MapGrid : MonoBehaviour {
	public enum GridType{
		None = 0,
		Normal = 1,
		Down = 2,
		Up = 3, 
		Left = 4,
		Right = 5,
		LeftUp = 6,
		LeftDown = 7,
		RightUp = 8, 
		RightDown = 9,
        Room = 10
	}

	public static float GridWidth = 1;
	public static float GridHeight = 1;

	[SerializeField]
	protected GridType m_type = GridType.None;
	public GridType Type{
		get{return m_type;}
	}

	protected SpriteRenderer m_sprite;

	void Awake()
	{
		m_sprite = GetComponent<SpriteRenderer>();
	}
}
